package 双端队列;

public class test {
    public static void main(String[] args) {
        LinkedListQeque<Integer> deque =new LinkedListQeque<>(5);
        deque.addFirst(1);
        deque.addFirst(2);
        deque.addFirst(3);
        for(Integer value:deque){//迭代器循环遍历
            System.out.println(value);
        }
    }
}
